package com.rf.richfitwheel.admin.sys.dao;

import com.rf.richfitwheel.admin.sys.model.SysCertInfo;
import com.rf.richfitwheel.admin.sys.model.SysCertInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysCertInfoMapper {
    long countByExample(SysCertInfoExample example);

    int deleteByExample(SysCertInfoExample example);

    int deleteByPrimaryKey(String certSn);

    int insert(SysCertInfo record);

    int insertSelective(SysCertInfo record);

    List<SysCertInfo> selectByExample(SysCertInfoExample example);

    SysCertInfo selectByPrimaryKey(String certSn);

    int updateByExampleSelective(@Param("record") SysCertInfo record, @Param("example") SysCertInfoExample example);

    int updateByExample(@Param("record") SysCertInfo record, @Param("example") SysCertInfoExample example);

    int updateByPrimaryKeySelective(SysCertInfo record);

    int updateByPrimaryKey(SysCertInfo record);
    
    /**
     * 查询ukey信息
     * @param paramsNew 参数
     * @return 参数
     */
    List<Map<String, Object>> selectSysCertInfoPage(Map<String, Object> paramsNew);
}